package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Phone string `json:"phone"`
}

func (u *User) UserFind(UserId int) error {
	return DB.Debug().Where("id = ?", UserId).Find(&u).Error
}
